package oohomework;

public class Fish extends Animal implements Swim{
    Fish(String name, int age, String color) {
        super(name, age, color);
    }
    void eat()
    {
        System.out.println(name+"Fish is eating");
    }
    public void swim()
    {
        System.out.println(name+"Fish is swimming");
    }
}
